﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="u_right.ascx.cs" Inherits="MyWeb.Controls.u_right" %>
<div id="right">
    <div class="box">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div class="boxRight">
                    <div class="boxRightTittle">
                        <div class="boxMenu">
                            <strong>Giỏ hàng</strong></div>
                    </div>
                    <div class="comment">
                        <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                        <div class="Cart">
                            <div class="CartDetail">
                                <ul>
                                    <asp:Literal ID="ltrcart" runat="server"></asp:Literal>
                                </ul>
                            </div>
                            <div class="CartFun clearn">
                                <ul>
                                    <li><asp:LinkButton ID="lbtviews" runat="server" onclick="lbtviews_Click">Xem giỏ hàng</asp:LinkButton></li>
                                    <li><asp:LinkButton ID="lbtBuy" runat="server" onclick="lbtBuy_Click">Thanh toán</asp:LinkButton></li>
                                </ul>
                            </div>
                            <div class="clean-fix">
                            </div>
                        </div>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                <div class="boxRight">
                    <asp:Literal ID="ltrSupport" runat="server"></asp:Literal>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <%--<asp:Literal ID="ltrtuyendung" runat="server"></asp:Literal>--%>
        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
            <ContentTemplate>
                <asp:Literal ID="ltrFacePage" runat="server"></asp:Literal>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="upWeather" runat="server">
            <ContentTemplate>
                <div class="boxWeather">
                    <div class="WeatherTitle">Thời tiết</div>
                    <asp:DropDownList ID="ddlWeather" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlWeather_SelectedIndexChanged">
                    </asp:DropDownList>
                    <div id="divWeather" runat="server">
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <div class="boxWeather">
            <div class="WeatherTitle">Giá vàng trong nước</div>
            <table width="100%" border="1" cellspacing="0" cellpadding="2">
                <tr>
                    <td>
                        <strong>LOẠI VÀNG</strong>
                    </td>
                    <td>
                        <strong>MUA</strong>
                    </td>
                    <td>
                        <strong>BÁN</strong>
                    </td>
                </tr>
                <tr>
                    <td width="30%">
                        <strong>SBJ</strong>
                    </td>
                    <td>
                        <script language="Javascript">                            document.write(vGoldSbjBuy); </script>
                    </td>
                    <td>
                        <script language="Javascript">                            document.write(vGoldSbjSell); </script>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>SJC</strong>
                    </td>
                    <td>
                        <script language="Javascript">                            document.write(vGoldSjcBuy); </script>
                    </td>
                    <td>
                        <script language="Javascript">                            document.write(vGoldSjcSell); </script>
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="UpdatePanel4" runat="server">
            <ContentTemplate>
                <asp:Literal ID="ltrVitri" runat="server"></asp:Literal>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="UpdatePanel5" runat="server">
            <ContentTemplate>
                <div class="boxRight">
                    <div class="boxRightTittle">
                        <div class="boxMenu">
                            <strong>Thành viên Online</strong></div>
                    </div>
                    <div class="comment">
                        <ul class="Online">
                            <%--<li class="group1"><strong>Thành viên</strong></li>--%>
                            <li class="visittor">Đang online: <span>
                                <%=Application["visitors_online"].ToString()%></span></li>
                            <li class="newToday">Hôm nay: <span>
                                <% =Application["HomNay"].ToString()  %></span></li>
                            <li class="newYesterday">Ngày hôm qua: <span>
                                <% =Application["HomQua"].ToString()  %></span></li>
                            <li class="member">Tuần này: <span>
                                <% =Application["TuanNay"].ToString()  %></span></li>
                            <li class="Allmenber2">Tuần trước: <span>
                                <% =Application["TuanTruoc"].ToString()  %></span></li>
                            <li class="visittor">Tháng này: <span>
                                <% =Application["ThangNay"].ToString()  %></span></li>
                            <li class="newToday">Tháng trước: <span>
                                <% =Application["ThangTruoc"].ToString()  %></span></li>
                            <li class="group1"><strong>Tất cả: </strong><span>
                                <% =Application["TatCa"].ToString()%></span></li>
                        </ul>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</div>
